package com.homedo.odin.solution.model.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 方案关联sku关系表
 * </p>
 *
 * @author HarveyDing
 * @since 2018-03-08
 */
@TableName("solution_sku")
@Getter
@Setter
public class SolutionSku extends Model<SolutionSku> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 方案编号
     */
	@TableField("solution_id")
	private Long solutionId;
    /**
     * 商品skuid
     */
	@TableField("sku_id")
	private String skuId;
    /**
     * sku名称
     */
	@TableField("sku_name")
	private String skuName;
    /**
     * sku状态
     */
	private Integer status;
    /**
     * 是否删除 0:否 1:是
     */
	@TableField("is_del")
	private Integer isDel;
	@TableField("create_user_name")
	private String createUserName;
    /**
     * 创建日期
     */
	@TableField("create_time")
	private Date createTime;
    /**
     * 最后修改日期
     */
	@TableField("last_modified_time")
	private Date lastModifiedTime;



	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
